home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / evalx.com / EVALX.H < prev   
Encoding:
C/C++ Source or Header  |  1990-09-15  |  643 b   |  16 lines

  1. /* These constants used for FIELD TYPE identification by class() */
  2.  
  3. #define OPCLASS 1       /* operator field ^ * / + - ( */
  4. #define NMCLASS 2       /* numeric field */
  5. #define FNCLASS 3       /* function name */
  6. #define VACLASS 4       /* not used */
  7. #define VRCLASS 4       /* not used */
  8.  
  9. #define    ERRFATAL  -1    /* FATAL ERROR */
  10. #define    ERRSYNTAX 1    /* SYNTAX ERROR */
  11. #define    ERROVFLOW 2    /* OVERFLOW ERROR */
  12. #define    ERRSQRT   3    /* SQUARE ROOT OF NEG NUMBER ERROR */
  13. #define    ERRFACT   4    /* FACTORIAL OF NEG or NUM > 33 ERROR */
  14. #define    ERRFUNC   5    /* UNKNOWN FUNCTION ERROR */
  15. #define    ERRILLVAR 6    /* ILLEGAL VARIABLE TYPE */
  16.